package cn.lx.expansion;

/**
 * @author lixin
 * @Classname GamePlayerProxy
 * @Description TODO
 * @Date 2019/10/5 上午11:01
 */
public class GamePlayerProxy implements IGamePlayer {

    private IGamePlayer iGamePlayer;

    public GamePlayerProxy(IGamePlayer _iGamePlayer) {
        this.iGamePlayer = _iGamePlayer;

    }

    public void login(String username, String password) {
        this.iGamePlayer.login("ll", "pwd");
    }

    public void killBoss() {
        this.iGamePlayer.killBoss();
    }

    public void upgrade() {
        this.iGamePlayer.upgrade();
    }
}
